home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0198 / AMOSLIST / text0087.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  3.0 KB  |  88 lines

  1. Hello.  I'll take a few of these questions...
  2.  
  3.  
  4. > - How good is Blitz Basic? Is it a big difference from AMOS?
  5.  
  6.    Go to my webpage (see below in my signature). Click on the
  7.    AMIGA-link then click on the AMOS-link.  Download the archive
  8.    containing "the AMOS&BLITZ demos".  It's nothing spectacular,
  9.    but it will allow you to see first hand how well the two languages
  10.    perform.  Also, you can read my views of AMOS and BLITZ (go
  11.    to the BLITZ-page).
  12.  
  13.  
  14. > - Can I include C and / or assembler source and / or compiled
  15. >   programs into my AMOS programs in any way?
  16.  
  17.    Source, no.  Executable, yes.  BLITZ allows inclusion of both
  18.    source and excutable Asm.  Also very easy to convert from C to
  19.    BLITZ...
  20.  
  21.  
  22. > - Are there any programming language similar to AMOS on the
  23. >   PC? Or any header file for C with AMOS similar commands?
  24. >   (I'm not talknig about Windows crap now :-))
  25.  
  26.    See message I posted to list VERY recently: 
  27.    Subject:"If you MUST have AMOS for PC then READ THIS!!"
  28.    Hmmm... you are on the AMOS-list, right? If not, and you didn't
  29.    receive that previous message, drop me a quick line and I'll give
  30.    you the URL for a PC AMOS...
  31.  
  32.    If you want to use C then check out the Allegro game library. It
  33.    contains loads of powerful commands for MIDI, WAV playing,
  34.    bitmaps, palettes, sprites, scrolling, etc.  It really "ROCKS!!!"
  35.  
  36.    Go to my IBMclone page and you can download two simple demos
  37.    I created with C/Allegro:CrzyStar and BOBdemo.
  38.  
  39.  
  40. > - Are the bob routines reely this bad??? Yesterday I changed
  41. >   the background under a bob (with a bar) and then moved the
  42. >   bob... guess what happened... nothing (exept a small flicker
  43. >   the backgound was just the same as before)...
  44.  
  45.    Well, the bobs might be considered "bad"... but, that's not the
  46.    cause of your problem. Chances are, you're trying to do the above
  47.    without shutting down AMOS's automatic bob-update system.
  48.    Try something like this (after opening your screen and in place of
  49.    your current "loop"):
  50.  
  51.    Double Buffer : Autoback 0 : Bob Update Off 
  52.    Amal Off : Synchro Off : Sprite Update Off : Flash Off
  53.    Rem the first thing I do in my AMOS-coding: Kill all that junk!!
  54.  
  55.    Now, we can begin...
  56.  
  57.    ALLDONE=False
  58.    Repeat
  59.       Bob Clear : Rem  ... Remove the Bobs
  60.  
  61.       Ink Rnd(31) : Rem  ...Select a Random Colour
  62.       Bar 80,100,y1 to 239,155 : Rem ...Draw the Bar
  63.  
  64.       Rem  Update your Bobs position here...
  65.       Bob Anumber, Xpos, Ypos, AnImageNumber
  66.  
  67.       Bob Draw : Rem  ...Now Redraw the Bobs
  68.       If  (Fire(0) Or Fire(1)) then ALLDONE=True
  69.       Screen Swap : Wait Vbl
  70.    Until ALLDONE
  71.  
  72.    The key is to do all your background modifications (in your case,
  73.    using the Bar command) between the Bob Clear and Bob Draw
  74.    statements.
  75.  
  76.    Hope this helps!!
  77.  
  78.  
  79.       Take  care,   
  80.       GARFIELD
  81.       -------------------------
  82.       Current projects...
  83.       SuperStarStrike98(AMIGA&IBM):15% complete(...5 days)
  84.              -->New screen-shots are on my GAMES page<--  
  85.       "Studying" POVray-coding(IBM): 20% complete
  86.       Website( http://www.sosbbs.com/~gbenjam ): 40% Complete
  87.  
  88.